package com.umeox.moto.watch.fitness.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;

import com.umeox.moto.common.log.Logger;
import com.umeox.moto.watch.fitness.base.BaseApp;


public class DateTimeReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        String action = intent.getAction();
        if (TextUtils.isEmpty(action)) {
            return;
        }
        Logger.e("action=" + action);
        BaseApp.getInstance().scheduleSportChallengeAlarm();
    }
}
